﻿Imports System.Data.SqlClient
Imports DAO
Imports DTO

Public Class CacLoaiCaBus
    Public Shared Function LayDSDanhSach() As SqlDataAdapter
        Return CacLoaiCaDao.LayDSDanhSach()
    End Function

    Public Shared Function LayDanhSach() As DataTable
        Return CacLoaiCaDao.LayDanhSach()
    End Function

    Public Shared Sub ThemCa(ByVal ca As CacLoaiCaDto)
        CacLoaiCaDao.ThemCa(ca)
    End Sub

    Public Shared Sub SuaCa(ByVal ca As CacLoaiCaDto)
        CacLoaiCaDao.SuaCa(ca)
    End Sub

    Public Shared Sub XoaCa(ByVal maca As String)
        CacLoaiCaDao.XoaCa(maca)
    End Sub
End Class
